﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PopForm.Master" AutoEventWireup="true" CodeBehind="ErrorPage.aspx.cs" Inherits="WF.Web.Classes.ErrorPage" %>
<%@ MasterType VirtualPath="~/PopForm.Master" %>
<asp:Content ID="Title" ContentPlaceHolderID="Title" runat="server">
</asp:Content>
<asp:Content ID="Other_head" ContentPlaceHolderID="Other_head" runat="server">
</asp:Content>
<asp:Content ID="Path" ContentPlaceHolderID="Path" runat="server">
    出错页面
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="Main" runat="server">
<script type="text/javascript">
    function CloseRootWindow(win) {
        if (win.parent == win) {
            win.close();
        }
        else {
            CloseRootWindow(win.parent);
        }
    }
</script>
    <div class="inputform">
        <div class="ititle">
            <center>
                <h4>
                    出错了</h4>
            </center>
        </div>
        <br />
        <table>
            <tr>
                <td>
                    <img  src="images/Info.png"/>
                    <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnDetail" runat="server" CssClass="inputbtn" Text="详细信息" OnClick="btnDetail_Click" />
                </td>
            </tr>
            <tr>
                <td style=" background-color:#EEEEFF">
                    <asp:Label ID="lblDetailMessage" runat="server" Visible="False" ></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <center>
            <%--    <asp:Button ID="btnReturn" CssClass="inputbtn" Text="返回原来页面" runat="server" OnClientClick=""/>
    <asp:Button ID="btnDefault" CssClass="inputbtn" Text="返回首页" runat="server" OnClientClick=""/>--%>
            <asp:Button ID="btnGoHome" CssClass="inputbtn" Text="返回首页" runat="server" OnClick="btnGoHome_Click" />
            <asp:Button ID="btnClose" CssClass="inputbtn" Text="关闭窗口" runat="server" OnClientClick="CloseRootWindow(window);" />
        </center>
    </div>
</asp:Content>
